# coding: utf-8
from application import db


class Bpm(db.Model):
    __tablename__ = 'bpm'

    id = db.Column(db.Integer, primary_key=True)
    sn = db.Column(db.String(30, 'utf8mb4_0900_ai_ci'))
    type = db.Column(db.String(30, 'utf8mb4_0900_ai_ci'))
    bpmname = db.Column(db.String(30, 'utf8mb4_0900_ai_ci'))
    dingtalksn = db.Column(db.String(100, 'utf8mb4_0900_ai_ci'))
    created_time = db.Column(db.DateTime)